<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>添加课表</title>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
</head>
<style>
    form{
        width: 400px;
        position: absolute;
        top: 10px;
        left: 50%;
        margin-left: -200px;
    }
</style>
<body>
<form class="layui-form" lay-filter="table">
    <div class="layui-form-item">
        <label class="layui-form-label">课程时间</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" id="createTime" name="createTime">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">课程</label>
        <div class="layui-input-block">
            <select name="course" id="course" lay-verify="required"  lay-search>
                <option value="">请选择课程</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">班级</label>
        <div class="layui-input-block">
            <select name="class" id="class" lay-verify="required" lay-search lay-filter="class">
                <option value="">请选择班级</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">教室</label>
        <div class="layui-input-block">
            <select name="room" id="room" lay-verify="required"  lay-search>
                <option value="">请选择教室</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">教师</label>
        <div class="layui-input-block">
            <select name="user" id="user" lay-verify="required"  lay-search>
                <option value="">请选择教师</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">上课节数</label>
        <div class="layui-input-block">
            <select name="timeSlot" id="timeSlot" lay-verify="required">
                <option value="">请选择上课节数</option>
                <option value="1">第一节</option>
                <option value="2">第二节</option>
                <option value="3">第三节</option>
                <option value="4">第四节</option>
                <option value="5">第五节</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="submit">提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="../../js/add/addUtil.js"></script>
<script type="text/javascript" src="../../js/add/tableAdd.js"></script>
</html>